package com.ruoyi.zhgd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
import com.ruoyi.zhgd.util.ZhgdBigDecimalUtil;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 沥青拌合站数据视图对象 n_asphalt_data_weight
 *
 * @author zyb
 * @date 2023-09-06
 */
@Data
@ExcelIgnoreUnannotated
public class NAsphaltDataWeightVo {

    private static final long serialVersionUID = 1L;

    /**
     * 数据主键
     */
    @ExcelProperty(value = "数据主键")
    private String id;

    /**
     * 沥青实际用量
     */
    @ExcelProperty(value = "沥青实际用量")
    private BigDecimal asphaltAct;

    /**
     * 骨料1实际用量
     */
    @ExcelProperty(value = "骨料1实际用量")
    private BigDecimal gravel1Act;

    /**
     * 骨料2实际用量
     */
    @ExcelProperty(value = "骨料2实际用量")
    private BigDecimal gravel2Act;

    /**
     * 骨料3实际用量
     */
    @ExcelProperty(value = "骨料3实际用量")
    private BigDecimal gravel3Act;

    /**
     * 骨料4实际用量
     */
    @ExcelProperty(value = "骨料4实际用量")
    private BigDecimal gravel4Act;

    /**
     * 骨料5实际用量
     */
    @ExcelProperty(value = "骨料5实际用量")
    private BigDecimal gravel5Act;

    /**
     * 骨料6实际用量
     */
    @ExcelProperty(value = "骨料6实际用量")
    private BigDecimal gravel6Act;

    /**
     * 粉料1实际用量
     */
    @ExcelProperty(value = "粉料1实际用量")
    private BigDecimal powder1Act;

    /**
     * 粉料2实际用量
     */
    @ExcelProperty(value = "粉料2实际用量")
    private BigDecimal powder2Act;

    /**
     * 粉料3实际用量
     */
    @ExcelProperty(value = "粉料3实际用量")
    private BigDecimal powder3Act;

    /**
     * 再生料实际用量
     */
    @ExcelProperty(value = "再生料实际用量")
    private BigDecimal recycledMaterialAct;

    /**
     * 骨料实际用量
     */
    @ExcelProperty(value = "骨料实际用量")
    private BigDecimal gravelAct;

    /**
     * 沥青理论用量
     */
    @ExcelProperty(value = "沥青理论用量")
    private BigDecimal asphaltTheo;

    /**
     * 矿粉实际用量
     */
    @ExcelProperty(value = "矿粉实际用量")
    private BigDecimal powderAct;

    /**
     * 骨料1理论用量
     */
    @ExcelProperty(value = "骨料1理论用量")
    private BigDecimal gravel1Theo;

    /**
     * 骨料2理论用量
     */
    @ExcelProperty(value = "骨料2理论用量")
    private BigDecimal gravel2Theo;

    /**
     * 骨料3理论用量
     */
    @ExcelProperty(value = "骨料3理论用量")
    private BigDecimal gravel3Theo;

    /**
     * 骨料4理论用量
     */
    @ExcelProperty(value = "骨料4理论用量")
    private BigDecimal gravel4Theo;

    /**
     * 骨料5理论用量
     */
    @ExcelProperty(value = "骨料5理论用量")
    private BigDecimal gravel5Theo;

    /**
     * 骨料6理论用量
     */
    @ExcelProperty(value = "骨料6理论用量")
    private BigDecimal gravel6Theo;

    /**
     * 粉料1理论用量
     */
    @ExcelProperty(value = "粉料1理论用量")
    private BigDecimal powder1Theo;

    /**
     * 粉料2理论用量
     */
    @ExcelProperty(value = "粉料2理论用量")
    private BigDecimal powder2Theo;

    /**
     * 粉料3理论用量
     */
    @ExcelProperty(value = "粉料3理论用量")
    private BigDecimal powder3Theo;

    /**
     * 再生料理论用量
     */
    @ExcelProperty(value = "再生料理论用量")
    private BigDecimal recycledMaterialTheo;

    /**
     * 矿粉理论用量
     */
    @ExcelProperty(value = "矿粉理论用量")
    private BigDecimal powderTheo;

    /**
     * 骨料理论用量
     */
    @ExcelProperty(value = "骨料理论用量")
    private BigDecimal gravelTheo;

    /**
     * 沥青冷料用量
     */
    @ExcelProperty(value = "沥青冷料用量")
    private BigDecimal asphaltCold;

    /**
     * 骨料1冷料用量
     */
    @ExcelProperty(value = "骨料1冷料用量")
    private BigDecimal gravel1Cold;

    /**
     * 骨料2冷料用量
     */
    @ExcelProperty(value = "骨料2冷料用量")
    private BigDecimal gravel2Cold;

    /**
     * 骨料3冷料用量
     */
    @ExcelProperty(value = "骨料3冷料用量")
    private BigDecimal gravel3Cold;

    /**
     * 骨料4冷料用量
     */
    @ExcelProperty(value = "骨料4冷料用量")
    private BigDecimal gravel4Cold;

    /**
     * 骨料5冷料用量
     */
    @ExcelProperty(value = "骨料5冷料用量")
    private BigDecimal gravel5Cold;

    /**
     * 骨料6冷料用量
     */
    @ExcelProperty(value = "骨料6冷料用量")
    private BigDecimal gravel6Cold;

    /**
     * 粉料1冷料用量
     */
    @ExcelProperty(value = "粉料1冷料用量")
    private BigDecimal powder1Cold;

    /**
     * 粉料2冷料用量
     */
    @ExcelProperty(value = "粉料2冷料用量")
    private BigDecimal powder2Cold;

    /**
     * 粉料3冷料用量
     */
    @ExcelProperty(value = "粉料3冷料用量")
    private BigDecimal powder3Cold;

    /**
     * 再生料冷料用量
     */
    @ExcelProperty(value = "再生料冷料用量")
    private BigDecimal recycledMaterialCold;

    /**
     * 木质纤维冷料用量
     */
    @ExcelProperty(value = "木质纤维冷料用量")
    private BigDecimal woodFiberCold;

    /**
     * 骨料冷料用量
     */
    @ExcelProperty(value = "骨料冷料用量")
    private BigDecimal gravelCold;

    /**
     * 矿粉冷料用量
     */
    @ExcelProperty(value = "矿粉冷料用量")
    private BigDecimal powderCold;

    /***********************************/

    /**
     * 机构code
     */
    @ExcelProperty(value = "机构code")
    private String baseCode;

    /**
     * 机构主键
     */
    @ExcelProperty(value = "机构主键")
    private String deptId;

    /**
     * 机构主键
     */
    @ExcelProperty(value = "机构主键")
    private String deptPkid;

    /**
     * 项目主键
     */
    @ExcelProperty(value = "项目主键")
    private String projectId;

    /**
     * 拌合站主键
     */
    @ExcelProperty(value = "拌合站主键")
    private String stationId;

    /**
     * 级配类型
     */
    @ExcelProperty(value = "级配类型")
    private String matchType;

    /**
     * 配方名称
     */
    @ExcelProperty(value = "配方名称")
    private String matchName;

    /**
     * 配方编号
     */
    @ExcelProperty(value = "配方编号")
    private String matchCode;

    /**
     * 出料时间
     */
    @ExcelProperty(value = "出料时间")
    private Date dischargeTime;

    /**
     * 出料温度
     */
    @ExcelProperty(value = "出料温度")
    private BigDecimal dischargeTemperature;

    /**
     * 溜槽温度
     */
    @ExcelProperty(value = "溜槽温度")
    private BigDecimal sluiceTemperature;

    /**
     * 盘重
     */
    @ExcelProperty(value = "盘重")
    private BigDecimal batchWeight;

    /**
     * 搅拌时长
     */
    @ExcelProperty(value = "搅拌时长")
    private Long mixingDuration;

    /**
     * 沥青温度
     */
    @ExcelProperty(value = "沥青温度")
    private BigDecimal asphaltTemperature;

    /**
     * 油石比
     */
    @ExcelProperty(value = "油石比")
    private BigDecimal asphaltAggregateRatio;

    /**
     * 入库时间
     */
    @ExcelProperty(value = "入库时间")
    private Date insertTime;

    /**
     * 生产类型,0:来料，1：进料
     */
    @ExcelProperty(value = "生产类型,0:来料，1：进料")
    private String productionType;

    /**
     * 项目主键
     */
    @ExcelProperty(value = "项目主键")
    private String projectCode;

    /**
     * 拌合站主键
     */
    @ExcelProperty(value = "拌合站主键")
    private String stationCode;

    /**
     * 原数据标识
     */
    @ExcelProperty(value = "原数据标识")
    private String originalId;

    private String deptName;

    @ExcelProperty(value = "总重")
    private BigDecimal totalWeight;

    @ExcelProperty(value = "骨料总重")
    private BigDecimal glSumWeight;
    @ExcelProperty(value = "粉料总重")
    private BigDecimal flSumWeight;
    @ExcelProperty(value = "沥青总重")
    private BigDecimal lqSumWeight;
    @ExcelProperty(value = "再生料总重")
    private BigDecimal zslSumWeight;
    @ExcelProperty(value = "用料总重")
    private BigDecimal ylSumWeight;
    @ExcelProperty(value = "骨料1总重")
    private BigDecimal gl1SumWeight;
    @ExcelProperty(value = "骨料2总重")
    private BigDecimal gl2SumWeight;
    @ExcelProperty(value = "骨料3总重")
    private BigDecimal gl3SumWeight;
    @ExcelProperty(value = "骨料4总重")
    private BigDecimal gl4SumWeight;
    @ExcelProperty(value = "骨料5总重")
    private BigDecimal gl5SumWeight;
    @ExcelProperty(value = "骨料6总重")
    private BigDecimal gl6SumWeight;
    @ExcelProperty(value = "粉料1总重")
    private BigDecimal fl1SumWeight;
    @ExcelProperty(value = "粉料2总重")
    private BigDecimal fl2SumWeight;
    @ExcelProperty(value = "粉料3总重")
    private BigDecimal fl3SumWeight;
    @ExcelProperty(value = "日期/按天")
    private String currDate;

    /**
     * 实际 理论 差值
     */
    private String desc;
    private String dataId;

    public void setAsphaltAct(BigDecimal asphaltAct) {
        this.asphaltAct = ZhgdBigDecimalUtil.stpTrailZero(asphaltAct);
    }

    public void setGravel1Act(BigDecimal gravel1Act) {
        this.gravel1Act = ZhgdBigDecimalUtil.stpTrailZero(gravel1Act);
    }

    public void setGravel2Act(BigDecimal gravel2Act) {
        this.gravel2Act = ZhgdBigDecimalUtil.stpTrailZero(gravel2Act);
    }

    public void setGravel3Act(BigDecimal gravel3Act) {
        this.gravel3Act = ZhgdBigDecimalUtil.stpTrailZero(gravel3Act);
    }

    public void setGravel4Act(BigDecimal gravel4Act) {
        this.gravel4Act = ZhgdBigDecimalUtil.stpTrailZero(gravel4Act);
    }

    public void setGravel5Act(BigDecimal gravel5Act) {
        this.gravel5Act = ZhgdBigDecimalUtil.stpTrailZero(gravel5Act);
    }

    public void setGravel6Act(BigDecimal gravel6Act) {
        this.gravel6Act = ZhgdBigDecimalUtil.stpTrailZero(gravel6Act);
    }

    public void setPowder1Act(BigDecimal powder1Act) {
        this.powder1Act = ZhgdBigDecimalUtil.stpTrailZero(powder1Act);
    }

    public void setPowder2Act(BigDecimal powder2Act) {
        this.powder2Act = ZhgdBigDecimalUtil.stpTrailZero(powder2Act);
    }

    public void setPowder3Act(BigDecimal powder3Act) {
        this.powder3Act = ZhgdBigDecimalUtil.stpTrailZero(powder3Act);
    }

    public void setRecycledMaterialAct(BigDecimal recycledMaterialAct) {
        this.recycledMaterialAct = ZhgdBigDecimalUtil.stpTrailZero(recycledMaterialAct);
    }

    public void setGravelAct(BigDecimal gravelAct) {
        this.gravelAct = ZhgdBigDecimalUtil.stpTrailZero(gravelAct);
    }

    public void setAsphaltTheo(BigDecimal asphaltTheo) {
        this.asphaltTheo = ZhgdBigDecimalUtil.stpTrailZero(asphaltTheo);
    }

    public void setPowderAct(BigDecimal powderAct) {
        this.powderAct = ZhgdBigDecimalUtil.stpTrailZero(powderAct);
    }

    public void setGravel1Theo(BigDecimal gravel1Theo) {
        this.gravel1Theo = ZhgdBigDecimalUtil.stpTrailZero(gravel1Theo);
    }

    public void setGravel2Theo(BigDecimal gravel2Theo) {
        this.gravel2Theo = ZhgdBigDecimalUtil.stpTrailZero(gravel2Theo);
    }

    public void setGravel3Theo(BigDecimal gravel3Theo) {
        this.gravel3Theo = ZhgdBigDecimalUtil.stpTrailZero(gravel3Theo);
    }

    public void setGravel4Theo(BigDecimal gravel4Theo) {
        this.gravel4Theo = ZhgdBigDecimalUtil.stpTrailZero(gravel4Theo);
    }

    public void setGravel5Theo(BigDecimal gravel5Theo) {
        this.gravel5Theo = ZhgdBigDecimalUtil.stpTrailZero(gravel5Theo);
    }

    public void setGravel6Theo(BigDecimal gravel6Theo) {
        this.gravel6Theo = ZhgdBigDecimalUtil.stpTrailZero(gravel6Theo);
    }

    public void setPowder1Theo(BigDecimal powder1Theo) {
        this.powder1Theo = ZhgdBigDecimalUtil.stpTrailZero(powder1Theo);
    }

    public void setPowder2Theo(BigDecimal powder2Theo) {
        this.powder2Theo = ZhgdBigDecimalUtil.stpTrailZero(powder2Theo);
    }

    public void setPowder3Theo(BigDecimal powder3Theo) {
        this.powder3Theo = ZhgdBigDecimalUtil.stpTrailZero(powder3Theo);
    }

    public void setRecycledMaterialTheo(BigDecimal recycledMaterialTheo) {
        this.recycledMaterialTheo = ZhgdBigDecimalUtil.stpTrailZero(recycledMaterialTheo);
    }

    public void setPowderTheo(BigDecimal powderTheo) {
        this.powderTheo = ZhgdBigDecimalUtil.stpTrailZero(powderTheo);
    }

    public void setGravelTheo(BigDecimal gravelTheo) {
        this.gravelTheo = ZhgdBigDecimalUtil.stpTrailZero(gravelTheo);
    }

    public void setAsphaltCold(BigDecimal asphaltCold) {
        this.asphaltCold = ZhgdBigDecimalUtil.stpTrailZero(asphaltCold);
    }

    public void setGravel1Cold(BigDecimal gravel1Cold) {
        this.gravel1Cold = ZhgdBigDecimalUtil.stpTrailZero(gravel1Cold);
    }

    public void setGravel2Cold(BigDecimal gravel2Cold) {
        this.gravel2Cold = ZhgdBigDecimalUtil.stpTrailZero(gravel2Cold);
    }

    public void setGravel3Cold(BigDecimal gravel3Cold) {
        this.gravel3Cold = ZhgdBigDecimalUtil.stpTrailZero(gravel3Cold);
    }

    public void setGravel4Cold(BigDecimal gravel4Cold) {
        this.gravel4Cold = ZhgdBigDecimalUtil.stpTrailZero(gravel4Cold);
    }

    public void setGravel5Cold(BigDecimal gravel5Cold) {
        this.gravel5Cold = ZhgdBigDecimalUtil.stpTrailZero(gravel5Cold);
    }

    public void setGravel6Cold(BigDecimal gravel6Cold) {
        this.gravel6Cold = ZhgdBigDecimalUtil.stpTrailZero(gravel6Cold);
    }

    public void setPowder1Cold(BigDecimal powder1Cold) {
        this.powder1Cold = ZhgdBigDecimalUtil.stpTrailZero(powder1Cold);
    }

    public void setPowder2Cold(BigDecimal powder2Cold) {
        this.powder2Cold = ZhgdBigDecimalUtil.stpTrailZero(powder2Cold);
    }

    public void setPowder3Cold(BigDecimal powder3Cold) {
        this.powder3Cold = ZhgdBigDecimalUtil.stpTrailZero(powder3Cold);
    }

    public void setRecycledMaterialCold(BigDecimal recycledMaterialCold) {
        this.recycledMaterialCold = ZhgdBigDecimalUtil.stpTrailZero(recycledMaterialCold);
    }

    public void setWoodFiberCold(BigDecimal woodFiberCold) {
        this.woodFiberCold = ZhgdBigDecimalUtil.stpTrailZero(woodFiberCold);
    }

    public void setGravelCold(BigDecimal gravelCold) {
        this.gravelCold = ZhgdBigDecimalUtil.stpTrailZero(gravelCold);
    }

    public void setPowderCold(BigDecimal powderCold) {
        this.powderCold = ZhgdBigDecimalUtil.stpTrailZero(powderCold);
    }

    public void setDischargeTemperature(BigDecimal dischargeTemperature) {
        this.dischargeTemperature = ZhgdBigDecimalUtil.stpTrailZero(dischargeTemperature);
    }

    public void setSluiceTemperature(BigDecimal sluiceTemperature) {
        this.sluiceTemperature = ZhgdBigDecimalUtil.stpTrailZero(sluiceTemperature);
    }

    public void setBatchWeight(BigDecimal batchWeight) {
        this.batchWeight = ZhgdBigDecimalUtil.stpTrailZero(batchWeight);
    }

    public void setAsphaltTemperature(BigDecimal asphaltTemperature) {
        this.asphaltTemperature = ZhgdBigDecimalUtil.stpTrailZero(asphaltTemperature);
    }

    public void setAsphaltAggregateRatio(BigDecimal asphaltAggregateRatio) {
        this.asphaltAggregateRatio = ZhgdBigDecimalUtil.stpTrailZero(asphaltAggregateRatio);
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = ObjectUtils.isNotEmpty(totalWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(totalWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;

    }

    public void setGlSumWeight(BigDecimal glSumWeight) {
        this.glSumWeight = ObjectUtils.isNotEmpty(glSumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(glSumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setFlSumWeight(BigDecimal flSumWeight) {
        this.flSumWeight = ObjectUtils.isNotEmpty(flSumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(flSumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setLqSumWeight(BigDecimal lqSumWeight) {
        this.lqSumWeight = ObjectUtils.isNotEmpty(lqSumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(lqSumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setZslSumWeight(BigDecimal zslSumWeight) {
        this.zslSumWeight = ObjectUtils.isNotEmpty(zslSumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(zslSumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setGl1SumWeight(BigDecimal gl1SumWeight) {
        this.gl1SumWeight = ObjectUtils.isNotEmpty(gl1SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(gl1SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setGl2SumWeight(BigDecimal gl2SumWeight) {
        this.gl2SumWeight = ObjectUtils.isNotEmpty(gl2SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(gl2SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setGl3SumWeight(BigDecimal gl3SumWeight) {
        this.gl3SumWeight = ObjectUtils.isNotEmpty(gl3SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(gl3SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setGl4SumWeight(BigDecimal gl4SumWeight) {
        this.gl4SumWeight = ObjectUtils.isNotEmpty(gl4SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(gl4SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setGl5SumWeight(BigDecimal gl5SumWeight) {
        this.gl5SumWeight = ObjectUtils.isNotEmpty(gl5SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(gl5SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setGl6SumWeight(BigDecimal gl6SumWeight) {
        this.gl6SumWeight = ObjectUtils.isNotEmpty(gl6SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(gl6SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setFl1SumWeight(BigDecimal fl1SumWeight) {
        this.fl1SumWeight = ObjectUtils.isNotEmpty(fl1SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(fl1SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setFl2SumWeight(BigDecimal fl2SumWeight) {
        this.fl2SumWeight = ObjectUtils.isNotEmpty(fl2SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(fl2SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setFl3SumWeight(BigDecimal fl3SumWeight) {
        this.fl3SumWeight = ObjectUtils.isNotEmpty(fl3SumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(fl3SumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }

    public void setYlSumWeight(BigDecimal ylSumWeight) {
        this.ylSumWeight = ObjectUtils.isNotEmpty(ylSumWeight)
            ? ZhgdBigDecimalUtil.stpTrailZero(ylSumWeight).setScale(2, BigDecimal.ROUND_HALF_UP)
            : null;
    }
}
